﻿using DevExpress.Xpo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class P_Category : BaseXPLiteObjectClass
    {
        public P_Category(Session session) : base(session) { }
        public override void AfterConstruction()
        {
            base.AfterConstruction();
        }

        string fCategoryID;
        [Key,Persistent]
        public string CategoryID
        {
            get { return fCategoryID; }
            set { SetPropertyValue<string>("CategoryID", ref fCategoryID, value); }
        }
        string fParentID;
        public string ParentID
        {
            get { return fParentID; }
            set { SetPropertyValue<string>("ParentID", ref fParentID, value); }
        }
        string fCategoryName;
        public string CategoryName
        {
            get { return fCategoryName; }
            set { SetPropertyValue<string>("CategoryName", ref fCategoryName, value); }
        }
        int fStatusID;
        public int StatusID
        {
            get { return fStatusID; }
            set { SetPropertyValue<int>("StatusID", ref fStatusID, value); }
        }
    }
}
